package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class HospitalVo {

    @NotBlank(message = "医院名字不可为空")
    @ApiModelProperty(value = "医院名字")
    private String hsName;

    @NotBlank(message = "医院等级不可为空")
    @ApiModelProperty(value = "医院等级")
    private String hsLevel;

    @NotBlank(message = "医院描述不可为空")
    @ApiModelProperty(value = "医院描述")
    private String hsDesc;


}
